package record.consts;

/**
 * @Package: com.record.consts
 * @ClassName: OperateType
 * @Author: wulongkai
 * @CreateTime: 2023/12/19 15:45
 * @Description:
 */
public enum OperateType {
    ADD(0, "新增"),
    DELETE(1, "删除"),
    UPDATE(2, "修改")
    ;
    int type;
    String name;

    OperateType(int type, String name) {
        this.type = type;
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
